This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Hello,
Notes8 is built on the OSGi/Equinox framework.
The OSGi specification states, the standard implementation has to have an Http service (which is missing only in the mobile specification).
And yes, looking at Eclipse/Equinox3.4, this is true.
I´ve got a simple 'hello world' plugin which works fine if the target platform is 'Equinox'.
What it does:
As a 'service component', it simply connects to the service 'org.osgi.service.http.HttpService' and provides a simple servlet and a static html file.
The port is set to to 1234 via 'run configuration': -Dorg.osgi.service.http.port=1234
This example works fine in Eclipse3.4/Equinox3.4.
After moving to Notes8.5.1, it does just nothing.
The problem is, there simply is no http service (org.osgi.service.http.HttpService) which triggers my service component.
Thanks to an example plugin which i´ve got from IBM, i´m now using com.ibm.pvc.webcontainer as a workaround.
On the one side, i see the smart OSGi solution (HttpService) which is satisfied just with a few code lines.
On Notes side, it looks like if i need to use a webserver, which imho is too heavy for a simple servlet.
Drawbacks are: Plugin has to be an 'webproject plugin' (overhead), and the webserver surely needs more resources when running.
Thanks in advance for any advice.
Feedback response number WEBB8ETG7P created by ~Lex Asaniterjip on 03/10/2011